package com.base.po.voip;

import java.util.Date;

public class CompanyNews {
    private String id;// 动态id

    private String parentid;// 发布商id

    private String username;// 发布人

    private String receiveid;// 接收人id

    private Date createtime;// 创建时间

    private String pic;// 封面图片

    private String contentpic;// 内容图片
    
    private String theme;// 主题

    private String title;// 正文标题
    
    private String contenttitle;// 封面标题

    private String content;// 内容
    
	private String url;// 链接地址

    private Integer type;// 接收类型  0所有 1个别

    private Byte datastatus;// 状态
    
    private String newsName;// 动态名称
    
    private String newsBreviary;// 动态缩略
    
    private String usersLogo;// 发布者头像

	private Users users;

    public Users getUsers() {
	    return users;
    }

    public void setUsers(Users users) {
	    this.users = users;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getParentid() {
        return parentid;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid == null ? null : parentid.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }
    
    public String getUsersLogo() {
		return usersLogo;
	}

	public void setUsersLogo(String usersLogo) {
		this.usersLogo = usersLogo;
	}

	public String getReceiveid() {
        return receiveid;
    }

    public void setReceiveid(String receiveid) {
        this.receiveid = receiveid == null ? null : receiveid.trim();
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic == null ? null : pic.trim();
    }

    public String getContentpic() {
        return contentpic;
    }

    public void setContentpic(String contentpic) {
        this.contentpic = contentpic == null ? null : contentpic.trim();
    }

    public String getTheme() {
        return theme;
    }

    public void setTheme(String theme) {
        this.theme = theme == null ? null : theme.trim();
    }
    
    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content == null ? null : content.trim();
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Byte getDatastatus() {
        return datastatus;
    }

    public void setDatastatus(Byte datastatus) {
        this.datastatus = datastatus;
    }
    
	public String getNewsName() {
		return newsName;
	}

	public void setNewsName(String newsName) {
		this.newsName = newsName;
	}

	public String getNewsBreviary() {
		return newsBreviary;
	}

	public void setNewsBreviary(String newsBreviary) {
		this.newsBreviary = newsBreviary;
	}

	public String getContenttitle() {
		return contenttitle;
	}

	public void setContenttitle(String contenttitle) {
		this.contenttitle = contenttitle;
	}

	public CompanyNews() {
		super();
	}

	public CompanyNews(String id, String parentid, String username, String receiveid, Date createtime, String pic,
			String contentpic, String theme, String title, String content, String url, Integer type, Byte datastatus) {
		super();
		this.id = id;
		this.parentid = parentid;
		this.username = username;
		this.receiveid = receiveid;
		this.createtime = createtime;
		this.pic = pic;
		this.contentpic = contentpic;
		this.theme = theme;
		this.title = title;
		this.content = content;
		this.url = url;
		this.type = type;
		this.datastatus = datastatus;
	}

	public CompanyNews(String id, String parentid, String username, String receiveid, Date createtime, String pic,
			String contentpic, String theme, String title, String contenttitle, String content, String url,
			Integer type, Byte datastatus) {
		super();
		this.id = id;
		this.parentid = parentid;
		this.username = username;
		this.receiveid = receiveid;
		this.createtime = createtime;
		this.pic = pic;
		this.contentpic = contentpic;
		this.theme = theme;
		this.title = title;
		this.contenttitle = contenttitle;
		this.content = content;
		this.url = url;
		this.type = type;
		this.datastatus = datastatus;
	}
}